package com.lc.stock.module.companyinfo.dao;

import com.lc.stock.module.companyinfo.domain.CompanyInfo;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author lichen
 * @description 公司的信息
 * @menu
 * @date 2023/2/6 11:26
 */
public interface CompanyInfoDao extends MongoRepository<CompanyInfo,String> {

    CompanyInfo findByStockCode(String stockCode);

    List<CompanyInfo> findByStockCodeIn(List<String> stockCodes);

}
